<?php if($banners): ?>
    <?php slot('banners') ?>
        <div id="slider">
        	<div id="coin-slider">
              <?php foreach($banners as $banner): ?>
        		<a href="<?php echo $banner['link'] ?>" target="_blank">
        			<img src="/uploads<?php echo $banner['file'] ?>" >
        			<span>
        				<h2><?php echo $banner['name'] ?></h2>
        				<?php echo $banner['content'] ?>
        			</span>
        		</a>
              <?php endforeach ?>
        	</div>
        </div>
    <?php end_slot() ?>
<?php endif ?>